
/*   MAIN PAGE STYLES   */

/* Basic styles for body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    line-height: 1.6;
}

/* Header styles */
header {
    background-color: #4A9BC6;
    padding: 30px;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    animation: fadeInDown 1s ease-in-out;
}

/* Navigation bar styles */
nav {
    background-color: #96a5a6;
    padding: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav a {
    margin: 0 15px;
    padding: 10px 20px;
    background-color: #96a5a6;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #6fcbdc;
    transform: scale(1.05);
}

/* flex box to put picture next to paragraph about me */

.about-container {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin: 20px; /* Optional: spacing around the container */
}

.about-container p {
    flex: 1; /* Allow the paragraph to take remaining space */
    margin-left: 20px; /* Space between image and text */
}



/*  ASSIGNMENT PAGE STYLES  */


#assignments-header {
    background-color: #A7B2D1; 
    padding: 30px;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-in-out;
}

.assignment-list a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the same color as surrounding text */
}

.assignment-list ul {
    font-size: 1.2rem;
    color: #444;
    background-color: #c0cdf396;
    list-style-type: none;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.assignment-list ul:hover {
    transform: scale(1.05);
}

/* Hover effect to keep some interactivity */
.assignment-list ul:hover a {
    color: #6fcbdc; /* Change link color on hover */
}





/* SEMESTER PROJECT PAGE STYLES */


#semester-header {
    background-color: #b2c8a3; /* Sage green */
    padding: 30px;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-in-out;
}

/* Section styles */
section {
    margin: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-in-out;
}

section p {
    font-size: 1.1rem;
    color: #666;
}

.fibonacci-section a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the same color as surrounding text */
}

.fibonacci-section li {
    font-size: 1.2rem;
    color: #444;
    background-color: #f1f8e9;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fibonacci-section li:hover {
    transform: scale(1.05);
}

/* Optional: Add a hover effect if you want to keep some interactivity */
.fibonacci-section li:hover a {
    color: #6fcbdc; /* Change link color on hover */
}




/* Image styles */
.profile-pic-rect {
    width: 50%;
    max-width: 300px;
    border: 5px solid #4A9BC6;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-pic-rect-sunflower {
    width: 300px; /* Set a specific width */
    height: 300px; /* Set a specific height */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border: 5px solid #4A9BC6; /* Keep your existing border */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); /* Keep your existing shadow */
    transition: transform 0.3s ease;
}


.profile-pic-rect:hover {
    transform: scale(1.05);
}

.profile-pic-rect-sunflower:hover {
    transform: scale(1.05);
}

/* Fibonacci section styles */
.fibonacci-section ul {
    list-style-type: none;
    padding: 0;
}

.fibonacci-section li {
    font-size: 1.2rem;
    color: #444;
    background-color: #f1f8e9;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fibonacci-section li:hover {
    transform: scale(1.05);
}

/*       ANIMATIONS      */


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*   BACK TO TOP LINK    */


footer {
    margin-top: 50px;
}

footer a.back-to-top {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #b2c8a3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer a.back-to-top:hover {
    background-color: #6fcbdc;
    transform: scale(1.05);
}

/* Navigation link active state */
nav a:active {
    background-color: #fff8e1; 
}

p {
    text-align: left;
}


/* Center all images globally */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


